package com.system.demo.service;

import com.system.demo.entity.DTO.NewStudentDTO;
import com.system.demo.entity.DTO.StudentIdsRequest;
import com.system.demo.entity.auth.DTO.RoleIdsDTO;
import com.system.demo.tool.ResponseResult;
import org.springframework.http.ResponseEntity;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.multipart.MultipartFile;

public interface UserService {

    ResponseResult<?> addNewUserByOnce(NewStudentDTO userDTO);

    ResponseResult<?> batchAddStudents(MultipartFile file);

    ResponseResult<?> deleteStudents(StudentIdsRequest studentIds);

    ResponseEntity<?> getExcelTemplate();

    ResponseResult<?> getUsersByLimits(String role, String uid, String stuClass, String name,  String current, String size);

    ResponseResult<?> resetUser(String uid);

    ResponseResult<?> getRoleListForUid(String uid);

    ResponseResult<?> reviseRoleForUser(String uid, RoleIdsDTO roleIdsDTO);
}
